#include <mapbox/polylabel.hpp>

int main()
{
    mapbox::geometry::polygon<double> polygon = {{{0, 0}, {10, 0}, {10, 10}, {0, 0}}};
    mapbox::geometry::point<double> p = mapbox::polylabel(polygon, 1.0);
    printf("%.6f,%.6f\n", p.x, p.y);
    return 0;
}

